home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
PAS_0693
/
MAKETDRW.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-06-30
|
1KB
|
34 lines
{─ Fido Pascal Conference ────────────────────────────────────────────── PASCAL ─
Msg : 259 of 389
From : Edward Walker 1:387/654.0 15 Jun 93 15:03
To : Dustin Nulf
Subj : screen stuff..
────────────────────────────────────────────────────────────────────────────────
Hello Dustin!
I decided to take a closer look at what you were trying to do (now that I'm
awake) and came up with this.. Total coding time, about 3 min including making
a cheap thedraw file that says test in alot of colors...
Save each ansi file as (P)ascal format, give them each a filename, then do
the following like this :
====}
Program Make_Pix_File;
Uses Dos, Crt;
{$I thedraw_pascal_format_file_name}
VAR
f : File;
BEGIN
Write('■ Converting ... ');
Assign(f, ParamCount(1)); (* pass the file to be written to cmdline *)
ReWrite(f,1); (* Zaap! *)
BlockWrite(f, ImageData, 4000); (* Write IMAGEDATA from TheDraw to file *)
Close(f);
WriteLn('Done!');
END.